package pizza4;

/**
 * @Auther: xiaofei
 * @Date: 2021/7/1 - 07 - 01 - 8:45
 * @Description: pizza4
 * @version: 1.0
 */
public class BurdenPizza extends Pizza {
    private double weight;

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public BurdenPizza() {
    }

    public BurdenPizza(String name, int size, double price, double weight) {
        super(name, size, price);
        this.weight = weight;
    }
}
